package com.wuye.model;

import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.persistence.Column;
import javax.persistence.Id;
import java.io.Serializable;

/**
 * Created by zhanchi on 2016/6/20.
 */
public class MenuStatus implements Serializable{
    public String toString() {
        try {
            return ReflectionToStringBuilder.toString(this, ToStringStyle.MULTI_LINE_STYLE);
        } catch (Exception e) {
            return e.getMessage();
        }
    }

    public MenuStatus() {
    }

    public MenuStatus(String menu_id, String image_file, String item_name, String item_description, String item_type, String item_unit, Float item_price, int for_sale) {
        this.menu_id = menu_id;
        this.image_file = image_file;
        this.item_name = item_name;
        this.item_description = item_description;
        this.item_type = item_type;
        this.item_unit = item_unit;
        this.item_price = item_price;
        this.for_sale = for_sale;
    }

    private String menu_id;
    private String image_file;
    private String item_name;
    private String item_description;
    private String item_type;
    private String item_unit;
    private Float item_price;
    private int for_sale;

    public String getMenu_id() {
        return menu_id;
    }

    public void setMenu_id(String menu_id) {
        this.menu_id = menu_id;
    }

    public String getImage_file() {
        return image_file;
    }

    public void setImage_file(String image_file) {
        this.image_file = image_file;
    }

    public String getItem_name() {
        return item_name;
    }

    public void setItem_name(String item_name) {
        this.item_name = item_name;
    }

    public String getItem_description() {
        return item_description;
    }

    public void setItem_description(String item_description) {
        this.item_description = item_description;
    }

    public String getItem_type() {
        return item_type;
    }

    public void setItem_type(String item_type) {
        this.item_type = item_type;
    }

    public String getItem_unit() {
        return item_unit;
    }

    public void setItem_unit(String item_unit) {
        this.item_unit = item_unit;
    }

    public Float getItem_price() {
        return item_price;
    }

    public void setItem_price(Float item_price) {
        this.item_price = item_price;
    }

    public int getFor_sale() {
        return for_sale;
    }

    public void setFor_sale(int for_sale) {
        this.for_sale = for_sale;
    }
}
